package com.zjw.service.impl;

import com.zjw.mapper.UserMapper;
import com.zjw.entity.po.User;
import com.zjw.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public int insertSelective(List<User> userList) {

        return userMapper.insertSelective(userList);
    }

    @Override
    public List<User> getUserList() {

        return userMapper.getUserList();
    }
}
